package com.wnxy.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 角色权限中间表
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
@Data
  @TableName("t_role_permission")
@ApiModel(value = "RolePermission对象", description = "角色权限中间表")
public class RolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private Integer roleId;

    private Integer permissionId;


}
